<?php
/**
 * @file
 * @package mileage
 * @version $Id$
**/

if (!defined('XOOPS_ROOT_PATH')){
	exit;
}

$mydirname = basename(dirname(dirname(__FILE__)));
if (!isset($GLOBALS['mileage_preload_dirname']) || !in_array($mydirname, $GLOBALS['mileage_preload_dirname'])) {
	$GLOBALS['mileage_preload_dirname'][] = $mydirname;
}

if (!class_exists('Mileage_AssetPreload')) {
	require realpath(dirname(__FILE__)) . '/../mytrustdirname.php';
	require_once XOOPS_TRUST_PATH . '/modules/' . $mytrustdirname . '/preload/AssetPreload.class.php';
}
